home *** CD-ROM | disk | FTP | other *** search
/ Die Speccy' 97 / Die Speccy' 97.iso / amiga_system / the_aminet / util / libs / halt.lzh / halt / makefile < prev    next >
Makefile  |  1995-10-06  |  507b  |  23 lines

  1.  
  2. INCLUDE = -Ignu:sources.libnix/headers
  3. OBJS = gnu:lib/libnix/libinit.o unmount.o halt_library.o
  4. LIBS = -lamiga
  5. LIBFLAGS = -noixemul -nostdlib -O3 -fbaserel
  6.  
  7. all: libs:halt.library shutdown sdwarn
  8.  
  9. .c.o:
  10.       gcc $(LIBFLAGS) $(INCLUDE) $*.c -c -o $*.o
  11.  
  12. shutdown: shutdown.c
  13.           gcc -noixemul shutdown.c -o shutdown
  14.  
  15. sdwarn:   sdwarn.c
  16.           gcc -noixemul sdwarn.c -o sdwarn
  17.  
  18. libs:halt.library: $(OBJS)
  19.       gcc $(LIBFLAGS) $(OBJS) -o $@ $(LIBS)
  20.  
  21. clean:
  22.     delete \#?.o libs:halt.library shutdown sdwarn
  23.